package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 电机对象 tb_motor
 * 
 * @author ruoyi
 * @date 2023-06-25
 */
public class TbMotor extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 驱动电机编号 */
    private Long motorId;

    /** 电机编码 */
    @Excel(name = "电机编码")
    private String motorCode;

    /** 电机厂家 */
    @Excel(name = "电机厂家")
    private String motorName;

    /** 电机厂家地址 */
    @Excel(name = "电机厂家地址")
    private String motorAddress;

    /** 电机厂家描述 */
    @Excel(name = "电机厂家描述")
    private String motorDescribe;

    /** 逻辑删除 */
    @Excel(name = "逻辑删除")
    private Long motorDeleted;

    public void setMotorId(Long motorId) 
    {
        this.motorId = motorId;
    }

    public Long getMotorId() 
    {
        return motorId;
    }
    public void setMotorCode(String motorCode) 
    {
        this.motorCode = motorCode;
    }

    public String getMotorCode() 
    {
        return motorCode;
    }
    public void setMotorName(String motorName) 
    {
        this.motorName = motorName;
    }

    public String getMotorName() 
    {
        return motorName;
    }
    public void setMotorAddress(String motorAddress) 
    {
        this.motorAddress = motorAddress;
    }

    public String getMotorAddress() 
    {
        return motorAddress;
    }
    public void setMotorDescribe(String motorDescribe) 
    {
        this.motorDescribe = motorDescribe;
    }

    public String getMotorDescribe() 
    {
        return motorDescribe;
    }
    public void setMotorDeleted(Long motorDeleted) 
    {
        this.motorDeleted = motorDeleted;
    }

    public Long getMotorDeleted() 
    {
        return motorDeleted;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("motorId", getMotorId())
            .append("motorCode", getMotorCode())
            .append("motorName", getMotorName())
            .append("motorAddress", getMotorAddress())
            .append("motorDescribe", getMotorDescribe())
            .append("motorDeleted", getMotorDeleted())
            .toString();
    }
}
